<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body{
      margin: 0;
    }
    .header{
      display: flex;
      justify-content: center;
      align-items: center;
      height: 60px;
      width: 100%;
      background-color: #CCCCCC;
    }
    .container{
      display: flex;
      width: 100vw;
      height: 100vh;
    }
    .left{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 200px;
      background-color: #a9fff9;
    }
    .right{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-grow: 1;
      flex-direction: column;
      background-color: #eeee;
    }
    .main{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-grow: 1;
      flex-direction: column;
      background-color: #eeee;
    }
    .footer{
      display: flex;
      justify-content: center;
      align-items: center;
      height: 60px;
      width: 100%;
      background-color: #CCCCCC;
    }
  </style>
</head>
<body>
    
    <div class="container">
      <div class="left">
        <span>侧边栏</span>
      </div>
      <div class="right">
        <div class="header">
          <span>头部</span>
        </div>
        <div class="main">
          <span>主体</span>
        </div>
        <div class="footer">
          <span>脚部</span>
        </div>
      </div>
    </div>
</body>
</html>